package com.cj.common.constant;

/**
 * @Author cheng jun
 * @Description:
 * @Date 2021/7/10 14:26
 */
public class Constant {

    /**
     * 服务器请求失败
     */
    public static final Integer SERVICE_FAILED = 500;

    /**
     * 编码格式：UTF-8
     */
    public static final String UTF_8 = "UTF-8";

    /**
     * http协议
     */
    public static final String HTTP_PROTOCOL = "http";

    /**
     * https协议
     */
    public static final String HTTPS_PROTOCOL = "https";

    /**
     * 未支付
     */
    public static final String UNPAID = "未支付";

    /**
     * 支付中
     */
    public static final String PAYMENTS = "支付中";

    /**
     * 已支付
     */
    public static final String PAID = "已支付";

    /**
     * try
     */
    public static final String HMILY_TRY = "try";

    /**
     * cancel
     */
    public static final String HMILY_CANCEL = "cancel";

    /**
     * confirm
     */
    public static final String HMILY_CONFIRM = "confirm";

    /**
     * 初始临时库存
     */
    public static final Integer LOCK_NUM = 0;

    /**
     * excel后缀
     */
    public static final String EXCEL_SUFFIX_XLS = ".xls";

    /**
     * excel后缀
     */
    public static final String EXCEL_SUFFIX_XLSX = ".xlsx";

    /**
     * excel阈值
     */
    public static final int EXCEL_THRESHOLD = 1000;

    /**
     * word后缀
     */
    public static final String WORD_SUFFIX_DOC = ".doc";

    /**
     * word后缀
     */
    public static final String WORD_SUFFIX_DOCX = ".docx";

    /**
     * 超级管理员ID
     */
    public static final int SUPER_ADMIN = 1;
}
